﻿using SqlSugar;

namespace Api.Shared.Model.Yanji
{
    public class DeviceHis
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Kr16 开机时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public float Kr16Time { get; set; }

        /// <summary>
        /// Kr500 开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float Kr500Time { get; set; }

        /// <summary>
        /// 底座伺服1开机时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public float Dizuo1Time { get; set; }

        /// <summary>
        /// 底座伺服2开机时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public float Dizuo2Time { get; set; }

        /// <summary>
        /// 底座伺服3开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float Dizuo3Time { get; set; }

        /// <summary>
        /// 框架伺服1开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float Kj1Time { get; set; }

        /// <summary>
        /// 框架伺服2开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float Kj2Time { get; set; }

        /// <summary>
        /// 框架伺服3开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float Kj3Time { get; set; }


        /// <summary>
        /// 轴伺服开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float ZhouTime { get; set; }

        /// <summary>
        /// 打磨伺服开机时间
        /// </summary>

        [SugarColumn(IsNullable = true)]
        public float DamoTime { get; set; }

        [SugarColumn(IsNullable = true)]
        public DateTime Time { get; set; } = DateTime.Now;

        [SugarColumn(IsNullable = true)]
        public string? CollectionTimeStr { get; set; } = DateTime.Now.ToShortDateString();

        [SugarColumn(IsNullable = true)]
        public string? Comment1 { get; set; } = string.Empty;

        [SugarColumn(IsNullable = true)]
        public string? Comment2 { get; set; } = string.Empty;

        [SugarColumn(IsNullable = true)]
        public string? Comment3 { get; set; } = string.Empty;
    }
}
